<%--
  Created by IntelliJ IDEA.
  User: 10153
  Date: 2025/3/27
  Time: 下午7:47
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html>
<head>

    <title>添加图书界面</title>
    <script src="${pageContext.request.contextPath}/static/js/jquery-3.3.1.js"></script>
    <script>
        var msg = "${msg}";
        if (msg != ""){
            alert(msg);
        }
    </script>
</head>
<body>
    <h1>添加图书</h1>
    <form action="/book/addBook" method="get">
        书籍；<input type="text" name="title">
        <br>
        作者：<input type="text" name="author"><br>
        数量：<input type="text" name="num"><br>
        <input type="submit" value="提交">
    </form>
    <button onclick="back()">返回</button>

    <script>
        function back(){
            location.href="/user/toLoginShow";
        }


    </script>
</body>
</html>
